 
package com.zdkj.subway.epm.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.subway.epm.entity.SwExDeviceFault;
import com.zdkj.subway.epm.mapper.SwExDeviceFaultMapper;
import com.zdkj.subway.epm.service.SwExDeviceFaultService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 票务设备异常管理
 *
 * @author cuilei
 * @date 2020-05-26 15:05:54
 */
@Service
@AllArgsConstructor
public class SwExDeviceFaultServiceImpl extends ServiceImpl<SwExDeviceFaultMapper, SwExDeviceFault> implements SwExDeviceFaultService {
    private final SwExDeviceFaultMapper swExDeviceFaultMapper;
    /*
     * 分页查找(non-Javadoc)
     * @see com.zdkj.subway.epm.service.SwExDeviceFaultService#pageSelect(com.baomidou.mybatisplus.extension.plugins.pagination.Page, com.baomidou.mybatisplus.core.conditions.Wrapper)
     */
    @Override
    public IPage<SwExDeviceFault> pageSelect(Page page, Wrapper query) {
        return swExDeviceFaultMapper.pageSelect(page, query);
    }
    /*
     * 根据ID数组查找数据(non-Javadoc)
     * @see com.zdkj.subway.epm.service.SwExDeviceFaultService#listSelect(java.lang.String)
     */
    @Override
    public List<SwExDeviceFault> listSelect(String ids) {
        return this.baseMapper.listSelect(ids);
    }
}
